// // import { useQuery } from '@apollo/client';
// import { useLocation, useNavigate } from 'react-router-dom';
// import { useAppContext, connectFactory } from '@/utils/contextFactory';
// import { IStudent } from '@/utils/type';
// import { useState } from 'react';
// // import { GET_STUDENT_INFO } from '@/graphql/user';

// const KEY = 'studentInfo';
// const DEFAULT_VALUE = {

// };

// export const useUserContext = () => useAppContext(KEY);

// export const connect = connectFactory(KEY, DEFAULT_VALUE);

// export const useGetStudent = () => {
//   const { setStore } = useUserContext();
//   const nav = useNavigate();
//   const location = useLocation();
//   const { loading, refetch } = useState([true,'aaaa'])
//   return { loading };
// };
